package com.diankangwo.factory.dao;

import com.diankangwo.factory.entity.TdHomepage;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 首页数据
 */
@Mapper
@Repository
public interface TdHomepageMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TdHomepage record);

    int insertSelective(TdHomepage record);

    TdHomepage selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdHomepage record);

    int updateByPrimaryKey(TdHomepage record);
    /**
     * 根据查询条件查询端口列表
     */
    List<TdHomepage> queryList(Map<String,Object> map);
}